package leetcode.code0069;

import leetcode.IDebug;
import leetcode.helper.HelpDebug;

public abstract class Solution69 implements IDebug {

	public abstract int mySqrt(int x);

	@Override
	public void debug1() {
		int x = 4;
		int e = 2;
		int r= this.mySqrt(x);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug2() {
		int x = 8;
		int e = 2;
		int r= this.mySqrt(x);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug3() {
		int x = 9;
		int e = 3;
		int r= this.mySqrt(x);
		HelpDebug.compare(e, r);
	}

	@Override
	public void debug4() {
		int x = 2147395599;
		int e = 46339;
		int r= this.mySqrt(x);
		HelpDebug.compare(e, r);
	}

	public void debug5() {
		int x = 1;
		int e = 1;
		int r= this.mySqrt(x);
		HelpDebug.compare(e, r);
	}
}
